package top.tomxwd.all.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author xieweidu
 * @createDate 2020-08-24 22:20
 */
@Data
@TableName("cps")
@NoArgsConstructor
@AllArgsConstructor
public class Cps implements Serializable {

    @TableId(type = IdType.INPUT, value = "ID")
    private Long id;

    @TableField(value = "NAME")
    private String name;

    @TableField(value = "VALID")
    private Boolean valid;

}
